package com.xnyzc.lhy.mis.entity.engine;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
*
* 风控留证记录表
*
* @author wangshuo
* @since 2019-12-16
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaRiskControlCertificate对象", description="风控留证记录表")
public class OaRiskControlCertificate implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value="record_id", type = IdType.INPUT)
    private Long recordId;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "区域编码")
    private String cityCode;

    @ApiModelProperty(value = "规则ID")
    private Long rulesId;

    @ApiModelProperty(value = "订单里程(m)")
    private BigDecimal milageDistance;

    @ApiModelProperty(value = "订单时长(s)")
    private BigDecimal durationTime;

    @ApiModelProperty(value = "附加费用")
    private BigDecimal additionlFee;

    @ApiModelProperty(value = "行程费用")
    private BigDecimal tripFee;

    @ApiModelProperty(value = "预估行程费用")
    private BigDecimal estimatePrice;

    @ApiModelProperty(value = "位置上报次数")
    private Integer positionReport;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String RECORD_ID = "record_id";

    public static final String DRIVER_ID = "driver_id";

    public static final String ORDER_NO = "order_no";

    public static final String CITY_CODE = "city_code";

    public static final String RULES_ID = "rules_id";

    public static final String MILAGE_DISTANCE = "milage_distance";

    public static final String DURATION_TIME = "duration_time";

    public static final String ADDITIONL_FEE = "additionl_fee";

    public static final String TRIP_FEE = "trip_fee";

    public static final String ESTIMATE_PRICE = "estimate_price";

    public static final String POSITION_REPORT = "position_report";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
